package com.hck.domain.consultation.repository;

import com.hck.domain.consultation.model.entity.HealthConsultationEntity;

import java.util.Date;
import java.util.List;

public interface IHealthConsultationRepository {
    void save(HealthConsultationEntity consultationEntity);
    HealthConsultationEntity findById(Long id);
    List<HealthConsultationEntity> findByUserId(Long userId);
    List<HealthConsultationEntity> findByDoctorId(Long doctorId);
    void updateStatus(Long id, String status, Date replyTime, Date closeTime);
}
